[INFO] cloning repository https://github.com/enebo/jruby-launcherr
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/enebo/jruby-launcherr" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fenebo%2Fjruby-launcherr", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fenebo%2Fjruby-launcherr'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 920237df905185d7ece5244dda9602cbaaeafcc1
[INFO] building enebo/jruby-launcherr against master#881c1ac408d93bb7adaa3a51dabab9266e82eee8 for issue-85264
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fenebo%2Fjruby-launcherr" "/workspace/builds/worker-15/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-15/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/enebo/jruby-launcherr on toolchain 881c1ac408d93bb7adaa3a51dabab9266e82eee8
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/enebo/jruby-launcherr
[INFO] finished tweaking git repo https://github.com/enebo/jruby-launcherr
[INFO] tweaked toml for git repo https://github.com/enebo/jruby-launcherr written to /workspace/builds/worker-15/source/Cargo.toml
[INFO] crate git repo https://github.com/enebo/jruby-launcherr already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] 098131cb4bf3e12634485a3dff2682eab4dc45b559aaec904aa5a434f078decb
[INFO] running `Command { std: "docker" "start" "-a" "098131cb4bf3e12634485a3dff2682eab4dc45b559aaec904aa5a434f078decb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "098131cb4bf3e12634485a3dff2682eab4dc45b559aaec904aa5a434f078decb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "098131cb4bf3e12634485a3dff2682eab4dc45b559aaec904aa5a434f078decb", kill_on_drop: false }`
[INFO] [stdout] 098131cb4bf3e12634485a3dff2682eab4dc45b559aaec904aa5a434f078decb
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 8712b51b3ddae7105075a809ecec30d78e3a9d3d5fe687d3e57b6d456237bcb8
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "8712b51b3ddae7105075a809ecec30d78e3a9d3d5fe687d3e57b6d456237bcb8", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.93
[INFO] [stderr]    Compiling bitflags v1.2.1
[INFO] [stderr]    Compiling cc v1.0.50
[INFO] [stderr]    Compiling sys-info v0.8.0
[INFO] [stderr]    Compiling nix v0.19.1
[INFO] [stderr]    Compiling process_path v0.1.3
[INFO] [stderr]    Compiling jruby v0.1.6 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os`
[INFO] [stdout]   --> src/os_string_ext.rs:31:22
[INFO] [stdout]    |
[INFO] [stdout] 31 |         use std::os::windows::ffi::OsStringExt;
[INFO] [stdout]    |                      ^^^^^^^ could not find `windows` in `os`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0053]: method `replace_str` has an incompatible type for trait
[INFO] [stdout]   --> src/os_string_ext.rs:30:33
[INFO] [stdout]    |
[INFO] [stdout] 20 |     #[cfg(not(windows))] fn replace_str(&self, from: &[u8], to: &[u8]) -> OsString;
[INFO] [stdout]    |                                                      ----- type in trait
[INFO] [stdout] ...
[INFO] [stdout] 30 |     fn replace_str(&self, from: &OsString, to: &OsString) -> OsString {
[INFO] [stdout]    |                                 ^^^^^^^^^
[INFO] [stdout]    |                                 |
[INFO] [stdout]    |                                 expected slice `[u8]`, found struct `OsString`
[INFO] [stdout]    |                                 help: change the parameter type to match the trait: `&[u8]`
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected fn pointer `fn(&OsString, &[u8], &[u8]) -> OsString`
[INFO] [stdout]               found fn pointer `fn(&OsString, &OsString, &OsString) -> OsString`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0046]: not all trait items implemented, missing: `replace`, `split_ascii_whitespace`
[INFO] [stdout]   --> src/os_string_ext.rs:28:1
[INFO] [stdout]    |
[INFO] [stdout] 21 |     fn replace(&self, from: u8, to: u8) -> OsString;
[INFO] [stdout]    |     ------------------------------------------------ `replace` from trait
[INFO] [stdout] ...
[INFO] [stdout] 24 |     fn split_ascii_whitespace(&self) -> OsWhitespaceSplitIter;
[INFO] [stdout]    |     ---------------------------------------------------------- `split_ascii_whitespace` from trait
[INFO] [stdout] ...
[INFO] [stdout] 28 | impl OsStringExt for OsString {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `replace`, `split_ascii_whitespace` in implementation
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `as_str` found for struct `OsString` in the current scope
[INFO] [stdout]   --> src/main.rs:42:40
[INFO] [stdout]    |
[INFO] [stdout] 42 |     let command = CString::new(command.as_str()).unwrap();
[INFO] [stdout]    |                                        ^^^^^^ help: there is an associated function with a similar name: `to_str`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `as_str` found for reference `&OsString` in the current scope
[INFO] [stdout]   --> src/main.rs:45:37
[INFO] [stdout]    |
[INFO] [stdout] 45 |         .map(|arg| CString::new(arg.as_str()).unwrap())
[INFO] [stdout]    |                                     ^^^^^^ help: there is an associated function with a similar name: `to_str`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/launch_options.rs:512:37
[INFO] [stdout]     |
[INFO] [stdout] 512 |                 self.java_opts.push("-Dfile.encoding=UTF-8".to_string());
[INFO] [stdout]     |                                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `OsString`, found struct `String`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/launch_options.rs:542:37
[INFO] [stdout]     |
[INFO] [stdout] 542 |                 self.java_opts.push("-Djava.security.egd=file:/dev/urandom".to_string());
[INFO] [stdout]     |                                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `OsString`, found struct `String`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `encode_wide` found for reference `&OsString` in the current scope
[INFO] [stdout]   --> src/os_string_ext.rs:32:34
[INFO] [stdout]    |
[INFO] [stdout] 32 |         let vec: Vec<u16> = self.encode_wide().collect();
[INFO] [stdout]    |                                  ^^^^^^^^^^^ method not found in `&OsString`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `encode_wide` found for reference `&OsString` in the current scope
[INFO] [stdout]   --> src/os_string_ext.rs:33:35
[INFO] [stdout]    |
[INFO] [stdout] 33 |         let from: Vec<u16> = from.encode_wide().collect();
[INFO] [stdout]    |                                   ^^^^^^^^^^^ method not found in `&OsString`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `encode_wide` found for reference `&OsString` in the current scope
[INFO] [stdout]   --> src/os_string_ext.rs:34:31
[INFO] [stdout]    |
[INFO] [stdout] 34 |         let to: Vec<u16> = to.encode_wide().collect();
[INFO] [stdout]    |                               ^^^^^^^^^^^ method not found in `&OsString`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `from_wide` found for struct `OsString` in the current scope
[INFO] [stdout]   --> src/os_string_ext.rs:54:19
[INFO] [stdout]    |
[INFO] [stdout] 54 |         OsString::from_wide(&new)
[INFO] [stdout]    |                   ^^^^^^^^^ function or associated item not found in `OsString`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `iter` found for reference `&OsString` in the current scope
[INFO] [stdout]   --> src/os_string_ext.rs:82:23
[INFO] [stdout]    |
[INFO] [stdout] 82 |             vec: self.iter().collect(),
[INFO] [stdout]    |                       ^^^^ method not found in `&OsString`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `iter` found for reference `&OsString` in the current scope
[INFO] [stdout]    --> src/os_string_ext.rs:108:34
[INFO] [stdout]     |
[INFO] [stdout] 108 |         let vec: Vec<u16> = self.iter().collect();
[INFO] [stdout]     |                                  ^^^^ method not found in `&OsString`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 0 arguments but 1 argument was supplied
[INFO] [stdout]    --> src/os_string_ext.rs:113:14
[INFO] [stdout]     |
[INFO] [stdout] 113 |             (OsString::new(&vec[0..index]), OsString::new(&vec[index..vec.len()]))
[INFO] [stdout]     |              ^^^^^^^^^^^^^ -------------- supplied 1 argument
[INFO] [stdout]     |              |
[INFO] [stdout]     |              expected 0 arguments
[INFO] [stdout]     |
[INFO] [stdout] note: associated function defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 0 arguments but 1 argument was supplied
[INFO] [stdout]    --> src/os_string_ext.rs:113:45
[INFO] [stdout]     |
[INFO] [stdout] 113 |             (OsString::new(&vec[0..index]), OsString::new(&vec[index..vec.len()]))
[INFO] [stdout]     |                                             ^^^^^^^^^^^^^ ---------------------- supplied 1 argument
[INFO] [stdout]     |                                             |
[INFO] [stdout]     |                                             expected 0 arguments
[INFO] [stdout]     |
[INFO] [stdout] note: associated function defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `iter` found for reference `&OsString` in the current scope
[INFO] [stdout]    --> src/os_string_ext.rs:127:33
[INFO] [stdout]     |
[INFO] [stdout] 127 |         let vec: Vec<u8> = self.iter().collect();
[INFO] [stdout]     |                                 ^^^^ method not found in `&OsString`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `iter` found for struct `OsString` in the current scope
[INFO] [stdout]    --> src/os_string_ext.rs:128:41
[INFO] [stdout]     |
[INFO] [stdout] 128 |         let start_vec: Vec<u8> = string.iter().collect();
[INFO] [stdout]     |                                         ^^^^ method not found in `OsString`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 0 arguments but 1 argument was supplied
[INFO] [stdout]    --> src/os_string_ext.rs:157:18
[INFO] [stdout]     |
[INFO] [stdout] 157 |             Some(OsString::new(&vec[start_index..end_index]))
[INFO] [stdout]     |                  ^^^^^^^^^^^^^ ---------------------------- supplied 1 argument
[INFO] [stdout]     |                  |
[INFO] [stdout]     |                  expected 0 arguments
[INFO] [stdout]     |
[INFO] [stdout] note: associated function defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/os_string_ext.rs:167:26
[INFO] [stdout]     |
[INFO] [stdout] 141 | #[cfg(not(windows))] const TAB: u16 = b'\t' as u16;
[INFO] [stdout]     |                      ------------------------------ constant defined here
[INFO] [stdout] ...
[INFO] [stdout] 167 |             matches!(*b, TAB | NEWLINE | LINEFEED | RETURN | SPACE)
[INFO] [stdout]     |                      --  ^^^
[INFO] [stdout]     |                      |   |
[INFO] [stdout]     |                      |   expected `u8`, found `u16`
[INFO] [stdout]     |                      |   `TAB` is interpreted as a constant, not a new binding
[INFO] [stdout]     |                      |   help: introduce a new binding instead: `other_tab`
[INFO] [stdout]     |                      this expression has type `u8`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/os_string_ext.rs:167:32
[INFO] [stdout]     |
[INFO] [stdout] 142 | #[cfg(not(windows))] const NEWLINE: u16 = b'\n' as u16;
[INFO] [stdout]     |                      ---------------------------------- constant defined here
[INFO] [stdout] ...
[INFO] [stdout] 167 |             matches!(*b, TAB | NEWLINE | LINEFEED | RETURN | SPACE)
[INFO] [stdout]     |                      --        ^^^^^^^
[INFO] [stdout]     |                      |         |
[INFO] [stdout]     |                      |         expected `u8`, found `u16`
[INFO] [stdout]     |                      |         `NEWLINE` is interpreted as a constant, not a new binding
[INFO] [stdout]     |                      |         help: introduce a new binding instead: `other_newline`
[INFO] [stdout]     |                      this expression has type `u8`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/os_string_ext.rs:167:42
[INFO] [stdout]     |
[INFO] [stdout] 143 | #[cfg(not(windows))] const LINEFEED: u16 = b'\x0C' as u16;
[INFO] [stdout]     |                      ------------------------------------- constant defined here
[INFO] [stdout] ...
[INFO] [stdout] 167 |             matches!(*b, TAB | NEWLINE | LINEFEED | RETURN | SPACE)
[INFO] [stdout]     |                      --                  ^^^^^^^^
[INFO] [stdout]     |                      |                   |
[INFO] [stdout]     |                      |                   expected `u8`, found `u16`
[INFO] [stdout]     |                      |                   `LINEFEED` is interpreted as a constant, not a new binding
[INFO] [stdout]     |                      |                   help: introduce a new binding instead: `other_linefeed`
[INFO] [stdout]     |                      this expression has type `u8`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/os_string_ext.rs:167:53
[INFO] [stdout]     |
[INFO] [stdout] 140 | #[cfg(not(windows))] const RETURN: u16 = b'\r' as u16;
[INFO] [stdout]     |                      --------------------------------- constant defined here
[INFO] [stdout] ...
[INFO] [stdout] 167 |             matches!(*b, TAB | NEWLINE | LINEFEED | RETURN | SPACE)
[INFO] [stdout]     |                      --                             ^^^^^^
[INFO] [stdout]     |                      |                              |
[INFO] [stdout]     |                      |                              expected `u8`, found `u16`
[INFO] [stdout]     |                      |                              `RETURN` is interpreted as a constant, not a new binding
[INFO] [stdout]     |                      |                              help: introduce a new binding instead: `other_return`
[INFO] [stdout]     |                      this expression has type `u8`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/os_string_ext.rs:167:62
[INFO] [stdout]     |
[INFO] [stdout] 139 | #[cfg(not(windows))] const SPACE: u16 = b' ' as u16;
[INFO] [stdout]     |                      ------------------------------- constant defined here
[INFO] [stdout] ...
[INFO] [stdout] 167 |             matches!(*b, TAB | NEWLINE | LINEFEED | RETURN | SPACE)
[INFO] [stdout]     |                      --                                      ^^^^^
[INFO] [stdout]     |                      |                                       |
[INFO] [stdout]     |                      |                                       expected `u8`, found `u16`
[INFO] [stdout]     |                      |                                       `SPACE` is interpreted as a constant, not a new binding
[INFO] [stdout]     |                      this expression has type `u8`           help: introduce a new binding instead: `other_space`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 0 arguments but 1 argument was supplied
[INFO] [stdout]    --> src/os_string_ext.rs:215:18
[INFO] [stdout]     |
[INFO] [stdout] 215 |             Some(OsString::new(&vec[start_index..end_index]))
[INFO] [stdout]     |                  ^^^^^^^^^^^^^ ---------------------------- supplied 1 argument
[INFO] [stdout]     |                  |
[INFO] [stdout]     |                  expected 0 arguments
[INFO] [stdout]     |
[INFO] [stdout] note: associated function defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 24 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0046, E0053, E0061, E0308, E0433, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0046`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `jruby`
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] running `Command { std: "docker" "inspect" "8712b51b3ddae7105075a809ecec30d78e3a9d3d5fe687d3e57b6d456237bcb8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8712b51b3ddae7105075a809ecec30d78e3a9d3d5fe687d3e57b6d456237bcb8", kill_on_drop: false }`
[INFO] [stdout] 8712b51b3ddae7105075a809ecec30d78e3a9d3d5fe687d3e57b6d456237bcb8
